﻿namespace CSharpPro;

public class Demo5
{
    public static void demo5()
    {
        string num;
        num= Console.ReadLine();
        int lenth=num.Length;
        Console.WriteLine("这是个"+lenth+"位数");
        for (int i = lenth - 1; i >= 0; i--)
        {
            Console.Write(num[i]);
        }
        
    }
}